package mao.thinkinjava.concurency.myenum;
import java.util.ArrayList;

/**
 * getGenericSuperclass和getInterface的区别。
 */
public class Test {
    public static void main(String[] args) {
        Class clazz = A.class;
        System.out.println(clazz.getGenericSuperclass());
        System.out.println(clazz.getSuperclass());
    }
}
class A<E> extends ArrayList<E>{}
